mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
30 lines
611 B
Nix
30 lines
611 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "disfetch";
|
|
version = "2.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "q60";
|
|
repo = "disfetch";
|
|
rev = version;
|
|
sha256 = "sha256-+6U5BdLmdTaFzgZmjSH7rIL9JTwIX7bFkQqm0rNuTRY=";
|
|
};
|
|
|
|
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/q60/disfetch";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.vel ];
|
|
};
|
|
}
|