diff options
author | Rommel M. Martinez <ebzzry@gmail.com> | 2016-03-24 20:34:01 +0800 |
---|---|---|
committer | Rommel M. Martinez <ebzzry@gmail.com> | 2016-03-25 06:16:07 +0800 |
commit | 90a3c8d35884de08944ef901a8de57e1ae619b66 (patch) | |
tree | 09af901840989965179785fd5c87f52f9079d6b1 /pkgs | |
parent | ebd656653458fd6f7d5c85c9e6e0ec834eff3855 (diff) |
deco: init at 0.0.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/deco/default.nix | 36 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/misc/deco/default.nix b/pkgs/applications/misc/deco/default.nix new file mode 100644 index 0000000000000..170018dc972d4 --- /dev/null +++ b/pkgs/applications/misc/deco/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchFromGitHub, scsh, feh, xlibs }: + +stdenv.mkDerivation rec { + pname = "deco"; + version = "0.0.1"; + name = "${pname}-${version}"; + + src = fetchFromGitHub { + owner = "ebzzry"; + repo = pname; + rev = "037f473ae4bdce5d3e2f76891785f0f7479cca75"; + sha256 = "1fv15nc9zqbn3c51vnm50yidj5ivpi61zg55cs46x3gi2x79x43q"; + }; + + installPhase = '' + mkdir -p $out/bin + cp ${pname} $out/bin + chmod +x $out/bin/${pname} + ''; + + postFixup = '' + substituteInPlace $out/bin/deco --replace "/usr/bin/env scsh" "${scsh}/bin/scsh" + substituteInPlace $out/bin/deco --replace "feh" "${feh}/bin/feh" + substituteInPlace $out/bin/deco --replace "xdpyinfo" "${xlibs.xdpyinfo}/bin/xdpyinfo" + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/ebzzry/deco; + description = "A simple root image setter"; + license = licenses.mit; + maintainers = [ maintainers.ebzzry ]; + platforms = platforms.unix; + }; + + dontBuild = true; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 26175c4e6d2d2..813fb34449871 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2041,6 +2041,8 @@ let darkice = callPackage ../tools/audio/darkice { }; + deco = callPackage ../applications/misc/deco { }; + icoutils = callPackage ../tools/graphics/icoutils { }; idutils = callPackage ../tools/misc/idutils { }; |