mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
30 lines
636 B
Nix
30 lines
636 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "disfetch";
|
|
version = "1.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "llathasa-veleth";
|
|
repo = "disfetch";
|
|
rev = version;
|
|
sha256 = "14vccp1z0g2hr9alx2ydz29hfa4xfv9irdjsvqm94fbyi5fa87k0";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|