pflask: switch to fetchFromGitHub

+10 -9
+10 -9
pkgs/os-specific/linux/pflask/default.nix
··· 1 - { lib, stdenv, fetchurl, python, wafHook }: 2 3 stdenv.mkDerivation rec { 4 pname = "pflask"; 5 - version = "git-2015-12-17"; 6 - rev = "599418bb6453eaa0ccab493f9411f13726c1a636"; 7 8 - src = fetchurl { 9 - url = "https://github.com/ghedo/pflask/archive/${rev}.tar.gz"; 10 - sha256 = "2545fca37f9da484b46b6fb5e3a9bbba6526a9725189fe4af5227ef6e6fca440"; 11 }; 12 13 nativeBuildInputs = [ wafHook ]; ··· 15 16 meta = { 17 description = "Lightweight process containers for Linux"; 18 - homepage = "https://ghedo.github.io/pflask/"; 19 - license = lib.licenses.bsd2; 20 - platforms = lib.platforms.linux; 21 maintainers = with lib.maintainers; [ ]; 22 }; 23 }
··· 1 + { lib, stdenv, fetchFromGitHub, python, wafHook }: 2 3 stdenv.mkDerivation rec { 4 pname = "pflask"; 5 + version = "unstable-2015-12-17"; 6 7 + src = fetchFromGitHub { 8 + owner = "ghedo"; 9 + repo = "pflask"; 10 + rev = "599418bb6453eaa0ccab493f9411f13726c1a636"; 11 + hash = "sha256-0RjitZd2JUK7WUEJuw4qhUx3joY5OI0Hh74mTzp7GmY="; 12 }; 13 14 nativeBuildInputs = [ wafHook ]; ··· 16 17 meta = { 18 description = "Lightweight process containers for Linux"; 19 + homepage = "https://ghedo.github.io/pflask/"; 20 + license = lib.licenses.bsd2; 21 + platforms = lib.platforms.linux; 22 maintainers = with lib.maintainers; [ ]; 23 }; 24 }