ustr: packaged
svn path=/nixpkgs/trunk/; revision=26540
This commit is contained in:
parent
8113129d1a
commit
836b0d259d
24
pkgs/development/libraries/ustr/default.nix
Normal file
24
pkgs/development/libraries/ustr/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, fetchurl, glibc }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
|
name = "ustr-${version}";
|
||||||
|
version = "1.0.4";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.and.org/ustr/${version}/${name}.tar.bz2";
|
||||||
|
sha256 = "1i623ygdj7rkizj7985q9d6vj5amwg686aqb5j3ixpkqkyp6xbrx";
|
||||||
|
};
|
||||||
|
prePatch = "substituteInPlace Makefile --replace /usr/include/ ${glibc}/include/";
|
||||||
|
|
||||||
|
makeFlags = "DESTDIR=$(out) prefix= LDCONFIG=echo";
|
||||||
|
|
||||||
|
configurePhase = "make ustr-import";
|
||||||
|
buildInputs = [ glibc ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://www.and.org/ustr/;
|
||||||
|
description = "Micro String API for C language";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = [ maintainers.phreedom ];
|
||||||
|
};
|
||||||
|
}
|
@ -4144,6 +4144,8 @@ let
|
|||||||
|
|
||||||
urt = callPackage ../development/libraries/urt { };
|
urt = callPackage ../development/libraries/urt { };
|
||||||
|
|
||||||
|
ustr = callPackage ../development/libraries/ustr { stdenv = overrideGCC stdenv gcc44; };
|
||||||
|
|
||||||
ucommon = callPackage ../development/libraries/ucommon { };
|
ucommon = callPackage ../development/libraries/ucommon { };
|
||||||
|
|
||||||
vamp = callPackage ../development/libraries/audio/vamp { };
|
vamp = callPackage ../development/libraries/audio/vamp { };
|
||||||
|
Loading…
Reference in New Issue
Block a user