depot/third_party/nixpkgs/pkgs/tools/misc/disfetch/default.nix
Default email 1a0302a145 Project import generated by Copybara.
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
2021-04-12 20:23:04 +02:00

29 lines
635 B
Nix

{ stdenv
, lib
, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "disfetch";
version = "1.22";
src = fetchFromGitHub {
owner = "llathasa-veleth";
repo = "disfetch";
rev = version;
sha256 = "sha256-fNmoaEwRrm6EFe+BwOTwAs1THMYhcal1eshXf+1mVQg=";
};
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 ];
};
}