blob: 47215a6dea6c7d0ef14296a078259abc4e9b4b0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv
, lib
, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "disfetch";
version = "2.10";
src = fetchFromGitHub {
owner = "q60";
repo = "disfetch";
rev = version;
sha256 = "sha256-mjjFy6VItTg4VVXvGNjOJYHKHTy8o26iYsVC9Fq0YVg=";
};
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 ];
};
}
|