nixpkgs/pkgs/tools/misc/pouf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
804 B
Nix
Raw Normal View History

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "pouf";
2023-09-19 08:58:55 +00:00
version = "0.6.3";
src = fetchFromGitHub {
owner = "mothsart";
repo = pname;
rev = version;
2023-09-19 08:58:55 +00:00
hash = "sha256-tW86b9a7u1jyfmHjwjs+5DaUujRZH+VhGQsj0CBj0yk=";
};
2023-09-19 08:58:55 +00:00
cargoHash = "sha256-rVJAaeg27SdM8cTx12rKLIGEYtXUhLHXUYpT78oVNlo=";
# Cargo.lock is outdated.
preConfigure = ''
cargo update --offline
'';
2022-05-01 19:20:43 +00:00
postInstall = "make PREFIX=$out copy-data";
meta = with lib; {
description = "A CLI program for produce fake datas";
homepage = "https://github.com/mothsart/pouf";
changelog = "https://github.com/mothsart/pouf/releases/tag/${version}";
maintainers = with maintainers; [ mothsart ];
license = with licenses; [ mit ];
2023-11-27 01:17:53 +00:00
mainProgram = "pouf";
};
}