forked from mirrors/nixpkgs
disfetch: init at 1.12
This commit is contained in:
parent
dc0a708c02
commit
969356d3ae
29
pkgs/tools/misc/disfetch/default.nix
Normal file
29
pkgs/tools/misc/disfetch/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "disfetch";
|
||||
version = "1.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "llathasa-veleth";
|
||||
repo = "disfetch";
|
||||
rev = version;
|
||||
sha256 = "1zm8q0fx695x28zg8ihzk3w41439v47n68cw6k551x31mls939yn";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -2003,6 +2003,8 @@ in
|
|||
|
||||
discocss = callPackage ../tools/misc/discocss { };
|
||||
|
||||
disfetch = callPackage ../tools/misc/disfetch { };
|
||||
|
||||
disk-filltest = callPackage ../tools/system/disk-filltest { };
|
||||
|
||||
diskscan = callPackage ../tools/misc/diskscan { };
|
||||
|
|
Loading…
Reference in a new issue