mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
30 lines
635 B
Nix
30 lines
635 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "disfetch";
|
|
version = "1.24";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "llathasa-veleth";
|
|
repo = "disfetch";
|
|
rev = version;
|
|
sha256 = "sha256-Uoc5xSyLXXEqdyYn71NK8c8A/1wQ6djYn/HHJwGg5vc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|