2020-12-28 20:31:16 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "disfetch";
|
2021-06-20 08:46:32 +02:00
|
|
|
version = "1.24";
|
2020-12-28 20:31:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "llathasa-veleth";
|
|
|
|
repo = "disfetch";
|
|
|
|
rev = version;
|
2021-06-20 08:46:32 +02:00
|
|
|
sha256 = "sha256-Uoc5xSyLXXEqdyYn71NK8c8A/1wQ6djYn/HHJwGg5vc=";
|
2020-12-28 20:31:16 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|