tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nco: switch to fetchFromGitHub
Felix Buehler
4 years ago
3149762b
9587435e
+5
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
nco
default.nix
+5
-3
pkgs/development/libraries/nco/default.nix
···
1
1
-
{ lib, stdenv, fetchzip, netcdf, netcdfcxx4, gsl, udunits, antlr2, which, curl, flex, coreutils }:
1
1
+
{ lib, stdenv, fetchFromGitHub, netcdf, netcdfcxx4, gsl, udunits, antlr2, which, curl, flex, coreutils }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "nco";
5
5
version = "5.0.3";
6
6
7
7
-
src = fetchzip {
8
8
-
url = "https://github.com/nco/nco/archive/${version}.tar.gz";
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "nco";
9
9
+
repo = "nco";
10
10
+
rev = "${version}";
9
11
sha256 = "sha256-KrFRBlD3z/sjKIvxmE0s/xCILQmESecilnlUGzDDICw=";
10
12
};
11
13