git.iko.soy/typeable/nixpkgs
on master help sign in
clingo: fix URL
commiteedc173276dc6f5018d8d5b4a5e1b42a82ec2075 authorVincent Laporte <Vincent.Laporte@gmail.com> dateMon 12 Mar 2018, 16:51 (9 years ago) parent2f00a50
1 file changed+6−5
pkgs/applications/science/logic/potassco/clingo.nix+6−5
pkgs/applications/science/logic/potassco/clingo.nix+6−5
@@ -1,12 +1,13 @@
1−{stdenv, fetchurl, cmake}:
1+{ stdenv, fetchzip, cmake }:
2+
23stdenv.mkDerivation rec {
34 name = "${pname}-${version}";
45 pname = "clingo";
56 version = "5.2.2";
67
7− src = fetchurl {
8− url = "https://github.com/potassco/clingo/releases/v${version}.tar.gz";
9− sha256 = "1kxzb385g8p9mqm1x9wvjrigifa09w6vj0wl7kradibm5qagh7ns";
8+ src = fetchzip {
9+ url = "https://github.com/potassco/clingo/archive/v${version}.tar.gz";
10+ sha256 = "04rjwpna37gzm8vxr09z3z6ay8y8cxbjd8lga7xvqfpn2l178zjm";
1011 };
1112
1213 buildInputs = [];
@@ -17,7 +18,7 @@ stdenv.mkDerivation rec {
1718 description = "ASP system to ground and solve logic programs";
1819 license = stdenv.lib.licenses.mit;
1920 maintainers = [stdenv.lib.maintainers.raskin];
20− platforms = stdenv.lib.platforms.linux;
21+ platforms = stdenv.lib.platforms.unix;
2122 homepage = "https://potassco.org/";
2223 downloadPage = "https://github.com/potassco/clingo/releases/";
2324 };