git.iko.soy/typeable/nixpkgs
on master help sign in
pflask: switch to fetchFromGitHub
commitc217af17c89040ba2c1fb1f21f9a3fd8e088efcf authorFelix Buehler <account@buehler.rocks> dateSun 19 Sep 2021, 17:07 (5 years ago) parent056df0b
1 file changed+10−9
pkgs/os-specific/linux/pflask/default.nix+10−9
pkgs/os-specific/linux/pflask/default.nix+10−9
@@ -1,13 +1,14 @@
1−{ lib, stdenv, fetchurl, python, wafHook }:
1+{ lib, stdenv, fetchFromGitHub, python, wafHook }:
22
33stdenv.mkDerivation rec {
44 pname = "pflask";
5− version = "git-2015-12-17";
6− rev = "599418bb6453eaa0ccab493f9411f13726c1a636";
5+ version = "unstable-2015-12-17";
76
8− src = fetchurl {
9− url = "https://github.com/ghedo/pflask/archive/${rev}.tar.gz";
10− sha256 = "2545fca37f9da484b46b6fb5e3a9bbba6526a9725189fe4af5227ef6e6fca440";
7+ src = fetchFromGitHub {
8+ owner = "ghedo";
9+ repo = "pflask";
10+ rev = "599418bb6453eaa0ccab493f9411f13726c1a636";
11+ hash = "sha256-0RjitZd2JUK7WUEJuw4qhUx3joY5OI0Hh74mTzp7GmY=";
1112 };
1213
1314 nativeBuildInputs = [ wafHook ];
@@ -15,9 +16,9 @@ stdenv.mkDerivation rec {
1516
1617 meta = {
1718 description = "Lightweight process containers for Linux";
18− homepage = "https://ghedo.github.io/pflask/";
19− license = lib.licenses.bsd2;
20− platforms = lib.platforms.linux;
19+ homepage = "https://ghedo.github.io/pflask/";
20+ license = lib.licenses.bsd2;
21+ platforms = lib.platforms.linux;
2122 maintainers = with lib.maintainers; [ ];
2223 };
2324}