mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
potassco: switch to fetchFromGitHub
This commit is contained in:
parent
e89e4b38a1
commit
cb448459d0
@ -1,11 +1,13 @@
|
||||
{ lib, stdenv, fetchzip, cmake }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clingo";
|
||||
version = "5.5.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/potassco/clingo/archive/v${version}.tar.gz";
|
||||
src = fetchFromGitHub {
|
||||
owner = "potassco";
|
||||
repo = "clingo";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-KBCwGNkz5HqbgXbDxPVcqxMXC8B2+wRI8eZVVXMVpLI=";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user