3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/disfetch/default.nix

30 lines
635 B
Nix
Raw Normal View History

2020-12-28 19:31:16 +00:00
{ stdenv
, lib
, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "disfetch";
2021-04-10 09:01:28 +01:00
version = "1.22";
2020-12-28 19:31:16 +00:00
src = fetchFromGitHub {
owner = "llathasa-veleth";
repo = "disfetch";
rev = version;
2021-04-10 09:01:28 +01:00
sha256 = "sha256-fNmoaEwRrm6EFe+BwOTwAs1THMYhcal1eshXf+1mVQg=";
2020-12-28 19:31:16 +00:00
};
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 ];
};
}