inih: fix version parsing with nix-env
This commit is contained in:
parent
9b310a73db
commit
f5e6968955
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "inih";
|
pname = "inih";
|
||||||
version = "r53";
|
version = "53";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "benhoyt";
|
owner = "benhoyt";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "r${version}";
|
||||||
sha256 = "0dqf5j2sw4hq68rqvxbrsf44ygfzx9ypiyzipk4cvp9aimbvsbc6";
|
sha256 = "0dqf5j2sw4hq68rqvxbrsf44ygfzx9ypiyzipk4cvp9aimbvsbc6";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple .INI file parser in C, good for embedded systems";
|
description = "Simple .INI file parser in C, good for embedded systems";
|
||||||
homepage = "https://github.com/benhoyt/inih";
|
homepage = "https://github.com/benhoyt/inih";
|
||||||
changelog = "https://github.com/benhoyt/inih/releases/tag/${version}";
|
changelog = "https://github.com/benhoyt/inih/releases/tag/r${version}";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ TredwellGit ];
|
maintainers = with maintainers; [ TredwellGit ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|
Loading…
Reference in a new issue