posix-array: how could this ever work?
This commit is contained in:
parent
14afbfef12
commit
2b8b92cf75
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchgit, ... }:
|
{ fetchgit, lib, stdenv, ... }:
|
||||||
|
|
||||||
with stdenv; stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "posix-array";
|
name = "posix-array-${version}";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
@ -16,16 +16,15 @@ with stdenv; stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p $out/bin
|
||||||
cp -a ./array $out/bin
|
cp -a ./array $out/bin
|
||||||
rm *
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Posix-compliant array implementation";
|
description = "POSIX-compliant array implementation";
|
||||||
url = https://github.com/makefu/array;
|
url = https://github.com/makefu/array;
|
||||||
license = licenses.wtfpl;
|
license = lib.licenses.wtfpl;
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
maintainers = with maintainers; [ makefu ];
|
maintainers = with lib.maintainers; [ makefu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user