Merge pull request #170961 from SuperSandro2000/inih
inih: fix version parsing with nix-env
This commit is contained in:
commit
eee88aa9bd
1 changed files with 3 additions and 3 deletions
|
@ -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