depot/third_party/nixpkgs/pkgs/tools/misc/disfetch/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

29 lines
634 B
Nix

{ stdenv
, lib
, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "disfetch";
version = "2.7";
src = fetchFromGitHub {
owner = "llathasa-veleth";
repo = "disfetch";
rev = version;
sha256 = "sha256-9VPyH7tJEOKCB95VtoIZJ6pL2hEiKTXrp9C7HBD+oxc=";
};
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 ];
};
}