preserves-nim: 0.3.0 -> 0.3.1
This commit is contained in:
parent
50876967b1
commit
379840bea9
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildNimPackage, fetchFromGitea, fetchFromGitHub }:
|
||||
{ lib, stdenv, buildNimPackage, fetchFromGitea, fetchFromGitHub, preserves }:
|
||||
|
||||
let
|
||||
compiler = fetchFromGitHub {
|
||||
|
@ -17,16 +17,19 @@ let
|
|||
|
||||
in buildNimPackage rec {
|
||||
pname = "preserves";
|
||||
version = "3.3.0";
|
||||
version = "3.3.1";
|
||||
src = fetchFromGitea {
|
||||
domain = "git.syndicate-lang.org";
|
||||
owner = "ehmry";
|
||||
repo = "${pname}-nim";
|
||||
rev = "nim-${pname}-${version}";
|
||||
sha256 = "sha256-bKALG3Gfq6Pezu9KH6LPc4L57iapILkClbEJVmlQsBY=";
|
||||
sha256 = "sha256-xliHep/00EYWK9Y7bxhW6I/at3pbSJX7BCtngVo9UtY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ compiler npeg ];
|
||||
propagatedNativeBuildInputs =
|
||||
lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) preserves;
|
||||
# propagate the utilities of this package for this build platform
|
||||
preConfigure = "substituteInPlace preserves.nimble --replace '# bin ' 'bin '";
|
||||
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in New Issue