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