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

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

30 lines
712 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "pouf";
2022-08-01 12:13:33 +02:00
version = "0.5.1";
src = fetchFromGitHub {
owner = "mothsart";
repo = pname;
rev = version;
2022-08-01 12:13:33 +02:00
sha256 = "1zz91r37d6nqvdy29syq853krqdkigiqihwz7ww9kvagfvzvdh13";
};
2022-08-01 12:13:33 +02:00
cargoSha256 = "1ikm9fqi37jznln2xsyzfm625lv8kwjzanpm3wglx2s1k1jkmcy9";
2022-05-01 21:20:43 +02: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 ];
};
}