summary refs log tree commit diff
path: root/pkgs/tools/misc/disfetch
diff options
context:
space:
mode:
authorLlathasa Veleth <llathasa@outlook.com>2020-12-28 22:31:16 +0300
committerLlathasa Veleth <llathasa@outlook.com>2020-12-28 22:31:16 +0300
commit969356d3aeaf663d609b59389a6322a9556439bf (patch)
treeed0a53823b419c811e96f9cc51d775b1acdb611b /pkgs/tools/misc/disfetch
parentdc0a708c02feec1f8d31a30988beb092e947898d (diff)
downloadnixpkgs-969356d3aeaf663d609b59389a6322a9556439bf.tar
nixpkgs-969356d3aeaf663d609b59389a6322a9556439bf.tar.gz
nixpkgs-969356d3aeaf663d609b59389a6322a9556439bf.tar.bz2
nixpkgs-969356d3aeaf663d609b59389a6322a9556439bf.tar.lz
nixpkgs-969356d3aeaf663d609b59389a6322a9556439bf.tar.xz
nixpkgs-969356d3aeaf663d609b59389a6322a9556439bf.tar.zst
nixpkgs-969356d3aeaf663d609b59389a6322a9556439bf.zip
disfetch: init at 1.12
Diffstat (limited to 'pkgs/tools/misc/disfetch')
-rw-r--r--pkgs/tools/misc/disfetch/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/disfetch/default.nix b/pkgs/tools/misc/disfetch/default.nix
new file mode 100644
index 00000000000..d80247801f0
--- /dev/null
+++ b/pkgs/tools/misc/disfetch/default.nix
@@ -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 ];
+  };
+}