3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #9653 from gfxmonk/gup

gup: new package
This commit is contained in:
Arseniy Seroka 2015-09-08 13:47:39 +03:00
commit c32727fa08
4 changed files with 39 additions and 0 deletions

View file

@ -104,6 +104,7 @@
garrison = "Jim Garrison <jim@garrison.cc>";
gavin = "Gavin Rogers <gavin@praxeology.co.uk>";
gebner = "Gabriel Ebner <gebner@gebner.org>";
gfxmonk = "Tim Cuthbertson <tim@gfxmonk.net>";
giogadi = "Luis G. Torres <lgtorres42@gmail.com>";
globin = "Robin Gloster <robin@glob.in>";
goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>";

View file

@ -0,0 +1,16 @@
# NOTE: this file is copied from the upstream repository for this package.
# Please submit any changes you make here to https://github.com/gfxmonk/gup/
{ stdenv, lib, python, which, pychecker ? null }:
{ src, version, meta ? {} }:
stdenv.mkDerivation {
inherit src meta;
name = "gup-${version}";
buildInputs = lib.remove null [ python which pychecker ];
SKIP_PYCHECKER = pychecker == null;
buildPhase = "make python";
installPhase = ''
mkdir $out
cp -r python/bin $out/bin
'';
}

View file

@ -0,0 +1,20 @@
{ stdenv, fetchgit, lib, python, which }:
let
version = "0.5.1";
src = fetchgit {
url = "https://github.com/gfxmonk/gup.git";
rev = "f185052e2177ed5e46720e6c6cfb529b96cd17e2";
sha256 = "c2e27cdba2231017ceb4868f58f5c3b224be0491b81558b4e59bb08a952ad1a5";
};
in
import ./build.nix
{ inherit stdenv lib python which; }
{ inherit src version;
meta = {
description = "A better make, inspired by djb's redo";
homepage = https://github.com/gfxmonk/gup;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.gfxmonk ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -1805,6 +1805,8 @@ let
gummiboot = callPackage ../tools/misc/gummiboot { };
gup = callPackage ../development/tools/build-managers/gup {};
gupnp = callPackage ../development/libraries/gupnp {
inherit (gnome) libsoup;
};