2020-12-28 19:31:16 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "disfetch";
|
2021-07-20 01:47:27 +00:00
|
|
|
version = "2.2";
|
2020-12-28 19:31:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "llathasa-veleth";
|
|
|
|
repo = "disfetch";
|
|
|
|
rev = version;
|
2021-07-20 01:47:27 +00:00
|
|
|
sha256 = "sha256-93nh1MDE2YO53lH2jDdKxgHh6v2KkAFo2Oyg+6ZpD+M=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|