2022-04-26 01:19:30 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
2023-07-12 15:22:45 +00:00
|
|
|
, fetchFromGitHub
|
2022-04-26 01:19:30 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "pouf";
|
2022-08-01 10:13:33 +00:00
|
|
|
version = "0.5.1";
|
2022-04-26 01:19:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mothsart";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-08-01 10:13:33 +00:00
|
|
|
sha256 = "1zz91r37d6nqvdy29syq853krqdkigiqihwz7ww9kvagfvzvdh13";
|
2022-04-26 01:19:30 +00:00
|
|
|
};
|
|
|
|
|
2022-08-01 10:13:33 +00:00
|
|
|
cargoSha256 = "1ikm9fqi37jznln2xsyzfm625lv8kwjzanpm3wglx2s1k1jkmcy9";
|
2022-05-01 19:20:43 +00:00
|
|
|
|
|
|
|
postInstall = "make PREFIX=$out copy-data";
|
2022-04-26 01:19:30 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|