cdk: pin url to a version to prevent hash changes
This commit is contained in:
parent
75739fd05b
commit
66c3f7463b
@ -1,18 +1,23 @@
|
|||||||
{stdenv, fetchurl, ncurses}:
|
{ stdenv, fetchurl, ncurses }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
version = "5.0-20160131";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "cdk-${version}";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ncurses
|
ncurses
|
||||||
];
|
];
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "cdk";
|
|
||||||
inherit buildInputs;
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://invisible-island.net/datafiles/release/cdk.tar.gz";
|
url = "ftp://invisible-island.net/cdk/cdk-${version}.tgz";
|
||||||
sha256 = "0j74l874y33i26y5kjg3pf1vswyjif8k93pqhi0iqykpbxfsg382";
|
sha256 = "08ic2f5rmi8niaxwxwr6l6lhpan7690x52vpldnbjcf20rc0fbf3";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = ''Curses development kit'';
|
description = "Curses development kit";
|
||||||
license = stdenv.lib.licenses.bsdOriginal ;
|
license = stdenv.lib.licenses.bsdOriginal ;
|
||||||
maintainers = [stdenv.lib.maintainers.raskin];
|
maintainers = [stdenv.lib.maintainers.raskin];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
Loading…
Reference in New Issue
Block a user