diff options
author | Llathasa Veleth <llathasa@outlook.com> | 2020-12-28 22:31:16 +0300 |
---|---|---|
committer | Llathasa Veleth <llathasa@outlook.com> | 2020-12-28 22:31:16 +0300 |
commit | 969356d3aeaf663d609b59389a6322a9556439bf (patch) | |
tree | ed0a53823b419c811e96f9cc51d775b1acdb611b /pkgs/tools/misc/disfetch | |
parent | dc0a708c02feec1f8d31a30988beb092e947898d (diff) |
disfetch: init at 1.12
Diffstat (limited to 'pkgs/tools/misc/disfetch')
-rw-r--r-- | pkgs/tools/misc/disfetch/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/disfetch/default.nix b/pkgs/tools/misc/disfetch/default.nix new file mode 100644 index 0000000000000..d80247801f0c6 --- /dev/null +++ b/pkgs/tools/misc/disfetch/default.nix @@ -0,0 +1,29 @@ +{ stdenv +, lib +, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "disfetch"; + version = "1.12"; + + src = fetchFromGitHub { + owner = "llathasa-veleth"; + repo = "disfetch"; + rev = version; + sha256 = "1zm8q0fx695x28zg8ihzk3w41439v47n68cw6k551x31mls939yn"; + }; + + dontBuild = true; + + installPhase = '' + install -Dm755 -t $out/bin disfetch + ''; + + meta = with lib; { + description = "Yet another *nix distro fetching program, but less complex"; + homepage = "https://github.com/llathasa-veleth/disfetch"; + license = licenses.mit; + platforms = platforms.all; + maintainers = [ maintainers.vel ]; + }; +} |