31 lines
724 B
Nix
31 lines
724 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "pouf";
|
|
version = "0.6.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mothsart";
|
|
repo = "pouf";
|
|
rev = version;
|
|
hash = "sha256-tW86b9a7u1jyfmHjwjs+5DaUujRZH+VhGQsj0CBj0yk=";
|
|
};
|
|
|
|
cargoHash = "sha256-cgRf8zpl2hOhaGew4dwzuwdy0+7wSvMtYN3llVi3uYw=";
|
|
|
|
postInstall = "make PREFIX=$out copy-data";
|
|
|
|
meta = {
|
|
description = "CLI program for produce fake datas";
|
|
homepage = "https://github.com/mothsart/pouf";
|
|
changelog = "https://github.com/mothsart/pouf/releases/tag/${version}";
|
|
maintainers = with lib.maintainers; [ mothsart ];
|
|
license = with lib.licenses; [ mit ];
|
|
mainProgram = "pouf";
|
|
};
|
|
}
|