diff options
| author | Felix Buehler <account@buehler.rocks> | 2021-11-08 17:12:26 +0100 |
|---|---|---|
| committer | Felix Buehler <account@buehler.rocks> | 2021-12-23 22:46:35 +0100 |
| commit | 989e950f487765688d2ae4ff7e7db5ccb4bbd2ef (patch) | |
| tree | def9bf8c02ed6e305512e20732f11394606638de /pkgs/development/python-modules/pythonnet | |
| parent | e2b2136d6302cd2936b49eeda58b55816758a3aa (diff) | |
buildDotnetPackage: rename baseName to pname
Diffstat (limited to 'pkgs/development/python-modules/pythonnet')
| -rw-r--r-- | pkgs/development/python-modules/pythonnet/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pythonnet/default.nix b/pkgs/development/python-modules/pythonnet/default.nix index 7387d387dbec..382fcc30876f 100644 --- a/pkgs/development/python-modules/pythonnet/default.nix +++ b/pkgs/development/python-modules/pythonnet/default.nix @@ -16,19 +16,19 @@ let dotnetPkgs = [ (fetchNuGet { - baseName = "UnmanagedExports"; + pname = "UnmanagedExports"; version = "1.2.7"; sha256 = "0bfrhpmq556p0swd9ssapw4f2aafmgp930jgf00sy89hzg2bfijf"; outputFiles = [ "*" ]; }) (fetchNuGet { - baseName = "NUnit"; + pname = "NUnit"; version = "3.12.0"; sha256 = "1880j2xwavi8f28vxan3hyvdnph4nlh5sbmh285s4lc9l0b7bdk2"; outputFiles = [ "*" ]; }) (fetchNuGet { - baseName = "System.ValueTuple"; + pname = "System.ValueTuple"; version = "4.5.0"; sha256 = "00k8ja51d0f9wrq4vv5z2jhq8hy31kac2rg0rv06prylcybzl8cy"; outputFiles = [ "*" ]; @@ -82,7 +82,7 @@ buildPythonPackage rec { ${builtins.concatStringsSep "\n" ( builtins.map ( - x: ''ln -s ${x}/lib/dotnet/${x.baseName} ./packages/${x.baseName}.${x.version}'' + x: ''ln -s ${x}/lib/dotnet/${x.pname} ./packages/${x.pname}.${x.version}'' ) dotnetPkgs)} # Setting TERM=xterm fixes an issue with terminfo in mono: System.Exception: Magic number is wrong: 542 |
